const Router = require("koa-router");
const router = new Router();

const district_router = require("./district");
router.get("/", async (ctx) => {
  ctx.body = "<h1>Hello Koa2</h1><br/>接口文档：<a href='./swagger'>swagger</a>";
});

router.use("/district", district_router.routes(), district_router.allowedMethods());

module.exports = router;
